package ;

import php.Lib;
import php.Utf8;
import haxe.Md5;
/**
 * ...
 * @author Ekaterina
 */

class Auth 
{
	public static function enc(id:String, auth_key:String):String {
		
		var api_id = Configuration.api_id;
		var api_secret = Configuration.api_secret;
		return  Md5.encode(api_id + '_' + id + '_' + api_secret);
		
	}
}